from django.conf.urls.defaults import *
from thesocialstockmarket.personalstock.views import *
from thesocialstockmarket.personalstock.forms import *

urlpatterns = patterns('',


    (r'^displaytrade/$', displaytrade),
    (r'^tradeerror/$', tradeerror),
    (r'^trade/(?P<stock_name>\w+)/$',trade),
    (r'^comment/(?P<from_friend>\w+)/(?P<stock_name>\w+)/$', comment ),
    (r'^commentrating/(?P<stock_name>\w+)/(?P<id>\d+)/$', rating),
    (r'^perstockdetail/$', perstockdetail),
    (r'^stockmanage/(?P<stock_name>\w+)/$', stockmanage),
)
